﻿using MediatR;
using System;
using System.Collections.Generic;
using System.Text;

namespace MediatRSample.Services
{
    public class PingSyncHandler
        : RequestHandler<Ping, string>
    {
        protected override string HandleCore(Ping request)
        {
            Console.WriteLine($"{request.MsgId}的请求处理完毕");
            return request.MsgId.ToString();
        }
    }
}
